<div class="vheader">
    <h1><?php echo $this->table['head']['title'] ?></h1>
    <p><?php echo $this->translate("Loan code") . ' ' .  $this->loan->LoanId ?> 
</div>

<div class="vcontent">
    <span class="label"><?php echo $this->translate('Client') ?>:</span> <?php echo $this->loan->ClientFullName ?> -
    <span class="label"><?php echo $this->translate('Client code') ?>:</span> <?php echo $this->loan->ClientCode ?> -
    <span class="label"><?php echo $this->translate('Product') ?>:</span> <?php echo $this->loan->LoanProductName ?> - 
    <span class="label"><?php echo $this->translate('Loan amount') ?>:</span> <?php echo $this->loan->Principal ?>
    <br /><br />
    <?php echo $this->partial('partials/table.phtml', $this->table); ?>
</div>

<div class="vfooter">
    <div class="menu">
        <?php echo $this->link('/loan/loan/view', array('id'=>$this->loan->LoanId),$this->translate("Loan")) ?>   
        <?php echo $this->link('/loan/legal/view', array('id'=>$this->loan->LoanId),$this->translate("Legal")) ?>   
        <?php echo $this->link('/loan/loan/write-off-payments', array('id'=>$this->loan->LoanId),$this->translate("Legal payments")) ?>
        <?php echo $this->printLink() ?>            
    </div>
</div>